package com.hunan.yllxy.repostitory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 资料库
 * </p>
 *
 * @author 刘华
 * @since 2025-06-20
 */
@Getter
@Setter
@TableName("materials_station")
@ApiModel(value = "MaterialsStation对象", description = "资料库")
public class MaterialsStation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("文件名")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty("标题")
    @TableField("title_name")
    private String titleName;

    @ApiModelProperty("服务文件名称")
    @TableField("minio_file")
    private String minioFile;

    @ApiModelProperty("描述")
    @TableField("des_text")
    private String desText;

    @ApiModelProperty("发布状态")
    @TableField("publish_state")
    private Integer publishState;

    @ApiModelProperty("桶名")
    @TableField("bucket_name")
    private String bucketName;

    private Integer sortIndex;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("update_time")
    private Date updateTime;


}
